import request from "@/utils/request"

// 分页查询客户信息接口
export function queryPageCustomer(data) {
  return request({
    url: "/lCustomer/queryPageCustomer",
    method: "get",
    params: data
  })
}
// 添加
export function insertCustomer(data) {
  return request({
    url: "/lCustomer/insertCustomer",
    method: "POST",
    data: data
  })
}
// 删除
export function deleteCustomer(id) {
  return request({
    url: "/lCustomer/deleteCustomer",
    method: "POST",
    data: id
  })
}

// update
export function updateCustomer(data) {
  return request({
    url: "/lCustomer/updateCustomer",
    method: "POST",
    data: data
  })
}
